package com.flame.workflow.ru.mapper;

import java.util.List;

import com.flame.workflow.ru.controller.vo.InstanceVo;
import com.flame.workflow.ru.entity.Instance;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_workflow_ru_instance 流程实例表
 *
 * @author 吴欣童
 * @since 2023-06-05 14:27:43
 */
@Mapper
public interface InstanceMapper {

    List<Instance> page(InstanceVo instanceVo);

    void insert(Instance instance);

    void updateById(Instance instance);

    void deleteById(@Param("instanceId") Long instanceId);

    Instance findById(@Param("instanceId") Long instanceId);
}